<?php
/* @var $this TdoctecnicadadosController */
/* @var $model Tdoctecnicadados */
/* @var $form CActiveForm */
$sDocTecnica = Yii::app()->session['tipodoctecnica'];
?>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tdoctecnicadados-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

                <?php $model->DocTecnica=$sDocTecnica;       
                echo $form->hiddenField($model,'DocTecnica'); ?>
<div class="col3">
	<div class="row">
		<?php echo $form->labelEx($model,Tdoctecnicadados::model()->LabelText('Campo01')); ?>
            
		<?php echo $form->textField($model,'DCampo01',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'DCampo01'); ?>

		<?php echo $form->labelEx($model,'DCampo02'); ?>
		<?php echo $form->textField($model,'DCampo02',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo02'); ?>

		<?php echo $form->labelEx($model,'DCampo03'); ?>
		<?php echo $form->textField($model,'DCampo03',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo03'); ?>
            
                <?php echo $form->labelEx($model,'DCampo04'); ?>
		<?php echo $form->textField($model,'DCampo04',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo04'); ?>
	</div>
</div>
<div class="col3">
	<div class="row">

		<?php echo $form->labelEx($model,'DCampo05'); ?>
		<?php echo $form->textField($model,'DCampo05',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo05'); ?>

		<?php echo $form->labelEx($model,'DCampo06'); ?>
		<?php echo $form->textField($model,'DCampo06',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo06'); ?>
            
                <?php echo $form->labelEx($model,'DCampo07'); ?>
		<?php echo $form->textField($model,'DCampo07',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo07'); ?>
	
               <?php echo $form->labelEx($model,'DCampo08'); ?>
		<?php echo $form->textField($model,'DCampo08',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo08'); ?>
	</div>
</div>
<div class="col3">
	<div class="row">


		<?php echo $form->labelEx($model,'DCampo09'); ?>
		<?php echo $form->textField($model,'DCampo09',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'DCampo09'); ?>

		<?php echo $form->labelEx($model,'DCampo10'); ?>
		<?php echo $form->textArea($model,'DCampo10',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'DCampo10'); ?>

		<?php echo $form->labelEx($model,'Emprestado'); ?>
		<?php echo $form->textField($model,'Emprestado'); ?>
		<?php echo $form->error($model,'Emprestado'); ?>
               <?php $model->idProj=Yii::app()->user->pidproj;       
                echo $form->hiddenField($model,'idProj'); ?>
        </div>
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Salvar' : 'Salvar'); ?>
	</div> 
</div>
<?php $this->endWidget(); ?>

</div><!-- form -->